#include <func.h>

#define BUFFSIZE 2000
#define NETBUFSIZE 2000

typedef struct  {  
	int length;
    int dataType;
    char data[NETBUFSIZE];
} train_t;

void concat(int len, char* str, char ch);
int getLength(char* str);
